home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
CNUMBERE
/
CNUMBERE.H
< prev
next >
Wrap
Text File
|
1991-07-04
|
988b
|
34 lines
/* Interface for CNumberEditor */
#define _H_CNumberEditor
#include "CPane.h"
struct CNumberEditor : CPane {
TextStyle itsStyle;
short significantDigits;
long SetCommandNumber;
Boolean dirty;
TEHandle itsTEHandle;
void INumberEditor(CView *anEnclosure, CBureaucrat *aSupervisor,
Str255 aFontName, int aFontSize,
Rect *itsRect, short sigDigs, long setComm);
void Dispose(void);
void SetString(Str255 aString);
void GetString(Str255 aString);
void SelectAll(void);
double GetDoubleValue(void);
void SetDoubleValue(double newValue);
long GetLongValue(void);
void SetLongValue(long newValue);
void AdjustCursor(Point where, RgnHandle mouseRgn);
void Draw(Rect *area);
void DoKeyDown(char theChar, Byte keyCode, EventRecord *macEvent);
void DoClick(Point hitPt, short modifierKeys, long when);
void Dawdle(long *sleep);
void Activate(void);
void Deactivate(void);
};